package com.tanhua.dubbo.api.mongo;

import com.tanhua.model.mongo.Visitors;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface VisitorsApi {
    void save(Visitors visitors);

    List<Visitors> findLast4(Long userId);

    PageResult<Visitors> findAllVisit(Long userId);

    Visitors findLastVisitor(Long userId);
}
